package com.ymtms.arrivalofgoods.dao;

import com.ymtms.arrivalofgoods.pojo.CallbackInformation;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface CallbackInformationMapper {
    int deleteByPrimaryKey(Integer cbiid);

    int insert(CallbackInformation record);

    int insertSelective(CallbackInformation record);

    CallbackInformation selectByPrimaryKey(Integer cbiid);

    int updateByPrimaryKeySelective(CallbackInformation record);

    int updateByPrimaryKey(CallbackInformation record);
    @Update("update callback_information set count=count+1 where cbiid=#{cbiid}")
    void updateCountCallbackInformation(Integer cbiid);
}